import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SIslandPos } from "./SIslandPos";
import { SEntityId } from "../Public/SEntityId";
type int = number;
//class SPlaceMiniInfo
    
    export  class SPlaceMiniInfo
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.placeId);
            this.pos.__write(arg1);
            this.guildId.__write(arg1);
            arg1.writeString(this.guildName);
            arg1.writeBool(this.isFighting);
            arg1.writeInt(this.protectSeconds);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.placeId = arg1.readInt();
            this.pos = new SIslandPos();
            this.pos.__read(arg1);
            this.guildId = new SEntityId();
            this.guildId.__read(arg1);
            this.guildName = arg1.readString();
            this.isFighting = arg1.readBool();
            this.protectSeconds = arg1.readInt();
            return;
        }

        public /* var */placeId: int;

        public /* var */pos: SIslandPos;

        public /* var */guildId: SEntityId;

        public /* var */guildName: string;

        public /* var */isFighting: Boolean;

        public /* var */protectSeconds: int;
    }
